package com.xc.ezplan.log.vo;

import com.xc.ezplan.core.base.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author lixingchen
 * @date 2022/11/20
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AdminLogVo extends BaseVo {

	@ApiModelProperty(value = "日志ID")
	private Long logId;

	/** 操作用户 */
	@ApiModelProperty(value = "操作用户")
	private String username;

	/** 描述 */
	@ApiModelProperty(value = "描述")
	private String description;

	/** 方法名 */
	@ApiModelProperty(value = "方法名")
	private String method;

	/** 参数 */
	@ApiModelProperty(value = "参数")
	private String params;

	/** 日志类型 */
	@ApiModelProperty(value = "日志类型")
	private String logType;

	/** 请求ip */
	@ApiModelProperty(value = "请求ip")
	private String requestIp;

	/** 地址 */
	@ApiModelProperty(value = "地址")
	private String address;

	/** 浏览器 */
	@ApiModelProperty(value = "浏览器")
	private String browser;

	/** 请求耗时 */
	@ApiModelProperty(value = "请求耗时")
	private Long time;

	/** 异常详细 */
	@ApiModelProperty(value = "异常详细")
	private byte[] exceptionDetail;

	/** 创建日期 */
	@ApiModelProperty(value = "创建日期")
	private LocalDateTime createTime;
}
